window.onload = function(){
	var mid = getUrl('mid');
	var json = {
			instruct:"movie_detail",
			mid:mid
	}
	goAjax(json);
	checkLogined();
}

//获取 url 后的参数值
function getUrl(para){
    var paraArr = location.search.substring(1).split('&');
    for(var i = 0;i < paraArr.length;i++){
        if(para == paraArr[i].split('=')[0]){
            return paraArr[i].split('=')[1];
        }
    }
    return '';
}